<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/3/16
  Time: 13:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<style>
    body{background: #f2f2f2;}
</style>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">

        <!-- 头部区域（可配合layui已有的水平导航） -->
        <%@include file="head.jsp"%>
    </div>

    <%@include file="list.jsp"%>

    <div class="layui-body" style="text-align: center">
        <!-- 内容主体区域 -->
        <div style="padding: 15px;text-align: center">
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <form class="layui-form" action="${pageContext.request.contextPath}/changepassowrd.do">
                <div class="layui-bg-red" style="text-align: center">${msg}</div>
                <div class="layui-form-item" style="text-align: center">
                    <label class="layui-form-label" style="text-align: center">旧密码</label>
                    <div class="layui-input-block" style="text-align: center">
                        <input type="password" name="oldPassword" required  lay-verify="required" placeholder="请输入当前密码" autocomplete="off" class="layui-input">
                    </div>

                </div>
                <div class="layui-form-item" style="text-align: center">
                    <label class="layui-form-label" style="text-align: center">新密码</label>
                    <div class="layui-input-block" style="text-align: center">
                        <input type="password" name="newPassword" required lay-verify="required" placeholder="请输入新密码" autocomplete="off" class="layui-input">
                    </div>

                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                        <div>      </div>
                    </div>
                </div>
            </form>

        </div>
    </div>

    <div class="layui-footer">
        <!-- 底部固定区域 -->
        我爱学习
    </div>
</div>
</body>
</html>
